package com.cyzy.yunyi.controller;

import com.cyzy.yunyi.service.TrainStationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author cuncun
 * @create 2025-07-18 下午3:40
 */
@RestController
@RequestMapping("/station")
public class TrainStationController {

    @Autowired
    private TrainStationService trainStationService;

    @GetMapping("/select")
    public String getStationList(){

        return trainStationService.getStationList();
    }
}
